package com.peycard.persistence.dao.local;
import java.util.List;

import javax.ejb.Local;

import com.peycard.persistence.PersistenceException;
import com.peycard.persistence.entities.ReaderControl;

@Local
public interface ReaderControlDAOLocal extends GenericDAO<ReaderControl, Long>{

	ReaderControl save(String brand, String model, String platform,
			String user, String active) throws PersistenceException;

	ReaderControl update(String brand, String model, String platform,
			String user, String active) throws PersistenceException;

	ReaderControl setDown(String idReader, String usr)
			throws PersistenceException;

	List<ReaderControl> getAll() throws PersistenceException;


}
